package com.mapper;

import java.util.List;

import com.bean.ProductionPlan;

public interface ProductionPlanMapper {
	int deleteByPrimaryKey(Integer productionPlanId);

	int insert(ProductionPlan record);

	int insertSelective(ProductionPlan record);

	ProductionPlan selectByPrimaryKey(Integer productionPlanId);

	List<ProductionPlan> selectByState(Integer state);

	List<ProductionPlan> selectAllGroupByDayProductTime();
	List<ProductionPlan> selectAllGroupByMonthProductTime();
	List<ProductionPlan> selectAllGroupByYearProductTime();

	List<ProductionPlan> selectAll();
	
	int deleteProductionPlan(int productionPlanId);

	int updateByPrimaryKeySelective(ProductionPlan record);

	int updateByPrimaryKey(ProductionPlan record);
}